package com.wu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wu.pojo.ReportLabel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: 吴磊
 * @program: blog
 * @create: 2021-05-12 13:52
 */
@Mapper
public interface ReportLabelMapper extends BaseMapper<ReportLabel> {

    /**
     * 获取所有举报父级标签
     *
     * @return
     */
    List<ReportLabel> getAllReportLabel();

    /**
     * 获取所有的子级标签
     *
     * @return
     */
    List<ReportLabel> getAllChildReportLabel();

}
